package com.bb.flow.api;

import com.bb.flow.api.entries.ConditionResult;
import com.bb.flow.api.entries.FlowContext;

/**
 * @author bigbeard on 2018-7-6.
 * 条件计算接口
 */
public interface ConditionValueCalc {

    /**
     * 结果条件条件判断
     *
     * @param flowNodeData  流程上下文参数
     * @return true:传入的条件成功,false:条件不成立
     */
    ConditionResult calcExpress(FlowContext flowNodeData);
}
